package com.pingan.generator.api.entity;

/**
 * 字段信息表
 * 
 * @author oracle
 */
public class ColInfo {

	/**
	 * 主键id
	 */
	private Long id;

	/**
	 * 字段英文名称
	 */
	private String col;

	/**
	 * 字段中文名称
	 */
	private String colName;

	/**
	 * 是否必填
	 */
	private String isNull;

	/**
	 * 是否为对象
	 */
	private String isObject;

	/**
	 * 是否为数组
	 */
	private String isList;

	/**
	 * 接口id
	 */
	private Long interfaceId;

	/**
	 * 父节点id
	 */
	private Long colFatherId;

	/**
	 * 子节点id
	 */
	private Long colSunId;

	/**
	 * 入参或者回参
	 */
	private String reqOrResp;

	/**
	 * 字段属性
	 */
	private String attr;
	/**
	 * 字段长度
	 */
	private Long length;

	/**
	 * 出参入参类型 1入参 2 出参
	 */
    private String type;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCol() {
		return col;
	}

	public void setCol(String col) {
		this.col = col;
	}

	public String getColName() {
		return colName;
	}

	public void setColName(String colName) {
		this.colName = colName;
	}

	public String getIsNull() {
		return isNull;
	}

	public void setIsNull(String isNull) {
		this.isNull = isNull;
	}

	public String getIsObject() {
		return isObject;
	}

	public void setIsObject(String isObject) {
		this.isObject = isObject;
	}

	public String getIsList() {
		return isList;
	}

	public void setIsList(String isList) {
		this.isList = isList;
	}

	public Long getInterfaceId() {
		return interfaceId;
	}

	public void setInterfaceId(Long interfaceId) {
		this.interfaceId = interfaceId;
	}

	public Long getColFatherId() {
		return colFatherId;
	}

	public void setColFatherId(Long colFatherId) {
		this.colFatherId = colFatherId;
	}

	public Long getColSunId() {
		return colSunId;
	}

	public void setColSunId(Long colSunId) {
		this.colSunId = colSunId;
	}

	public String getReqOrResp() {
		return reqOrResp;
	}

	public void setReqOrResp(String reqOrResp) {
		this.reqOrResp = reqOrResp;
	}

	public String getAttr() {
		return attr;
	}

	public void setAttr(String attr) {
		this.attr = attr;
	}

	public Long getLength() {
		return length;
	}

	public void setLength(Long length) {
		this.length = length;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}
